{% extends "base.html" %}

{% block additional_title %}
Promena lozinke
{% endblock %}

{% block content %}

<center>
	<h1>Promena lozinke</h1>

	<form action="" method="POST">
		<table cellspacing="10px">
			<tr>
				<th align="left"><label for="id_old_password">Stara lozinka:</label></th>
				<td>{{ form.old_password }}</td>
				<td>{{ form.old_password.errors }}</td>
			</tr>
			<tr>
				<th align="left"><label for="id_new_password1">Nova lozinka:</label></label></th>
				<td>{{ form.new_password1 }}</td>
				<td>{{ form.new_password1.errors }}</td>
			</tr>
			<tr>
				<th align="left"><label for="id_new_password2">Potvrdi novu lozinku:</label></th>
				<td>{{ form.new_password2 }}</td>
				<td>{{ form.new_password2.errors }}</td>
			</tr>
		</table>
		
		<input type="submit" value="Promeni"/>
	</form>
</center>

{% endblock %}